package com.cyy.decorator_pattern;

/**
 * 加孜然(具体的装饰)
 */
public class ZiRan extends JiaLiao{
    private Qi qi;

    ZiRan(){}

    ZiRan(Qi qi){
        super(qi);
    }

    @Override
    public void show() {
        super.show();
        add();
    }

    private void add() {
        System.out.println("加孜然");
    }
}
